[Unit]
Description=Podman gitea Service
After=network.target
After=network-online.target

[Service]
Type=simple
ExecStart=/usr/bin/podman run \
   --name gitea \
   -it \
   --security-opt label=disable \
   -p 3000:3000 \
   -p 3022:22 \
   -v /data/cloudh/gitea:/data \
   gitea/gitea@sha256:{{ sha256 }}
ExecStop=/usr/bin/podman rm -f gitea
Restart=always

[Install]
WantedBy=multi-user.target
